import java.util.*;

public class Test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
//        String s1 = in.nextLine();
//        String s2 = in.nextLine();

        String s1 = "They are students.";
        String s2 = "aeiou";

        Set<Character> hash = new HashSet<>();
        for(int i = 0; i < s2.length(); i++){
            char ch = s2.charAt(i);
            if(!hash.contains(ch)){
                hash.add(ch);
            }
        }

        StringBuffer tmp = new StringBuffer();
        for(int i = 0; i < s1.length();){
            while(i < s1.length() && hash.contains(s1.charAt(i))) { i++;}
            tmp.append(s1.charAt(i));
            i++;
        }
        System.out.println(tmp.toString());
    }
}